<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>v-model</title>
        <link rel="stylesheet" type="text/css" href="./source/transfer.css">
	</head>
	<body>
		<div id="app">
			<input type="checkbox" v-model="checked" @change="changeCheckStatus">
			{{checked}}
		</div>
	</body>
</html>
<script src="../2.1.8/vue.js"></script>
<script>
	let vm = new Vue({
		el : '#app',
		data : {
			checked : false,
		},
		methods : {
			changeCheckStatus(checked){
				console.log( this.checked );
			}
		}
	});
</script>